//
//  WYPictureMetadata.h
//  FriendCircleDemo
//
//  Created by mac on 2018/9/25.
//  Copyright © 2018年 WY. All rights reserved.
//

#import <Foundation/Foundation.h>
/// 图片标记
typedef NS_ENUM(NSUInteger, WYPictureBadgeType) {
    WYPictureBadgeTypeNone = 0, ///< 正常图片
    WYPictureBadgeTypeLong,     ///< 长图
    WYPictureBadgeTypeGIF,      ///< GIF
};

@interface WYPictureMetadata : NSObject

/// < Full image url
@property (nonatomic, readwrite, strong) NSURL *url;
/// < pixel width
@property (nonatomic, readwrite, assign) NSInteger width;
/// < pixel height
@property (nonatomic, readwrite, assign) NSInteger height;
/// < "WEBP" "JPEG" "GIF"
@property (nonatomic, readwrite, copy) NSString *type;
/// < Default:1
@property (nonatomic, readwrite, assign) NSInteger cutType;
/// 图片标记 （正常 GIF 长图）
@property (nonatomic, readwrite, assign) WYPictureBadgeType badgeType;
@end
